from django.conf.urls import patterns, include, url

from django.contrib import admin
from main import views
from weixindemo import settings
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^plugins/(?P<path>.*)$' , 'django.views.static.serve', {'document_root':settings.main_static}),
    url(r'^index$', views.MainMuenListView.as_view(), name='index'),
    url(r'^tab$', 'main.views.tab', name='tab'),
    url(r'^main_default$', 'main.views.main_default', name='main_default'),
    #url(r'^main_defaultlist$', 'main.views.main_defaultlist', name='main_defaultlist'),
    url(r'^main_defaultedit$', 'main.views.main_defaultedit', name='main_defaultedit'),
    url(r'^main_defaultlist$', views.MainDefaultListView.as_view(), name='main_defaultlist'),
     
)
